package com.whminwei.edu.api.school.dto.fspn;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Data;

import java.util.List;

/**
 * @author wangy
 * @since 2024/4/12
 */
@Data
public class DeptFspn {
    @JsonValue
    private List<DeptBo> deptList;

    public DeptFspn() {
    }

    @JsonCreator
    public DeptFspn(List<DeptBo> deptList) {
        this.deptList = deptList;
    }

    @Data
    public static class DeptBo {

        /**
         * 系部ID
         */
        private String departmentId;

        /**
         * 系部名称
         */
        private String departmentName;

        /**
         * 系部编号
         */
        private String serialNo;
    }

}
